package com.aaron.kjviewutils.retrofit.service;

import com.aaron.kjviewutils.AccountBean;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * 作者：Aaron on 2017/2/16 16:11
 * 邮箱：kaijin.fang@edianniu.com
 */
public interface AccountService {

    @GET("user/rigister")
    Call<ResponseBody> register(@QueryMap Map<String, String> rigisterParam);
    @GET("user/login")
    Call<AccountBean> login(@QueryMap Map<String, String> loginParam);
}
